'''
Author: @zhyy
Date: 2021-02-01 11:01:29
LastEditors: @zhyy
LastEditTime: 2021-02-01 17:57:30
'''

from flask import Blueprint

from app.api.main import main
from app.api.admin import admin
from app.api.home import home

def create_blueprint_api():
    api = Blueprint('api', __name__)
    #注册main模块蓝图
    main.register(api)

    #注册后台管理模块蓝图
    admin.register(api)

    #注册前端模块蓝图
    home.register(api)
   
   
    return api

